package me.flyray.bsin.server.domain._gen;

import java.util.Map;
import java.util.HashMap;
import java.util.Arrays;
import java.util.List;

import java.io.Serializable;

import me.flyray.bsin.server.domain.SysPost;

// tell cpd to start ignoring code - CPD-OFF
/**
 *  Syspost: sys_post
 */
@SuppressWarnings({"PMD"})
public class _SysPost implements Serializable{
    
    /* 岗位id: POST_ID VARCHAR */
    public static final String PROP_NAME_postId = "postId";
    public static final int PROP_ID_postId = 1;
    
    /* 岗位编号: POST_CODE VARCHAR */
    public static final String PROP_NAME_postCode = "postCode";
    public static final int PROP_ID_postCode = 2;
    
    /* 岗位名称: POST_NAME VARCHAR */
    public static final String PROP_NAME_postName = "postName";
    public static final int PROP_ID_postName = 3;
    
    /* 岗位排序: SORT INTEGER */
    public static final String PROP_NAME_sort = "sort";
    public static final int PROP_ID_sort = 4;
    
    /* 状态 0、启用 1、停用: STATUS INTEGER */
    public static final String PROP_NAME_status = "status";
    public static final int PROP_ID_status = 5;
    
    /* 描述: REMARK VARCHAR */
    public static final String PROP_NAME_remark = "remark";
    public static final int PROP_ID_remark = 6;
    
    /* 租户id: TENANT_ID VARCHAR */
    public static final String PROP_NAME_tenantId = "tenantId";
    public static final int PROP_ID_tenantId = 7;
    
    /* 创建者: CREATE_BY VARCHAR */
    public static final String PROP_NAME_createBy = "createBy";
    public static final int PROP_ID_createBy = 8;
    
    /* 创建时间: CREATE_TIME DATETIME */
    public static final String PROP_NAME_createTime = "createTime";
    public static final int PROP_ID_createTime = 9;
    
    /* 修改人: UPDATE_BY VARCHAR */
    public static final String PROP_NAME_updateBy = "updateBy";
    public static final int PROP_ID_updateBy = 10;
    
    /* 修改时间: UPDATE_TIME DATETIME */
    public static final String PROP_NAME_updateTime = "updateTime";
    public static final int PROP_ID_updateTime = 11;
    
    /* 逻辑删除 0、未删除 1、已删除: DEL_FLAG INTEGER */
    public static final String PROP_NAME_delFlag = "delFlag";
    public static final int PROP_ID_delFlag = 12;
    

    private static int _PROP_ID_BOUND = 13;

    

    public static final List<String> PK_PROP_NAMES = Arrays.asList(PROP_NAME_postId);
    public static final int[] PK_PROP_IDS = new int[]{PROP_ID_postId};

    private static final String[] PROP_ID_TO_NAME = new String[13];
    private static final Map<String,Integer> PROP_NAME_TO_ID = new HashMap<>();
    static{
      
          PROP_ID_TO_NAME[PROP_ID_postId] = PROP_NAME_postId;
          PROP_NAME_TO_ID.put(PROP_NAME_postId, PROP_ID_postId);
      
          PROP_ID_TO_NAME[PROP_ID_postCode] = PROP_NAME_postCode;
          PROP_NAME_TO_ID.put(PROP_NAME_postCode, PROP_ID_postCode);
      
          PROP_ID_TO_NAME[PROP_ID_postName] = PROP_NAME_postName;
          PROP_NAME_TO_ID.put(PROP_NAME_postName, PROP_ID_postName);
      
          PROP_ID_TO_NAME[PROP_ID_sort] = PROP_NAME_sort;
          PROP_NAME_TO_ID.put(PROP_NAME_sort, PROP_ID_sort);
      
          PROP_ID_TO_NAME[PROP_ID_status] = PROP_NAME_status;
          PROP_NAME_TO_ID.put(PROP_NAME_status, PROP_ID_status);
      
          PROP_ID_TO_NAME[PROP_ID_remark] = PROP_NAME_remark;
          PROP_NAME_TO_ID.put(PROP_NAME_remark, PROP_ID_remark);
      
          PROP_ID_TO_NAME[PROP_ID_tenantId] = PROP_NAME_tenantId;
          PROP_NAME_TO_ID.put(PROP_NAME_tenantId, PROP_ID_tenantId);
      
          PROP_ID_TO_NAME[PROP_ID_createBy] = PROP_NAME_createBy;
          PROP_NAME_TO_ID.put(PROP_NAME_createBy, PROP_ID_createBy);
      
          PROP_ID_TO_NAME[PROP_ID_createTime] = PROP_NAME_createTime;
          PROP_NAME_TO_ID.put(PROP_NAME_createTime, PROP_ID_createTime);
      
          PROP_ID_TO_NAME[PROP_ID_updateBy] = PROP_NAME_updateBy;
          PROP_NAME_TO_ID.put(PROP_NAME_updateBy, PROP_ID_updateBy);
      
          PROP_ID_TO_NAME[PROP_ID_updateTime] = PROP_NAME_updateTime;
          PROP_NAME_TO_ID.put(PROP_NAME_updateTime, PROP_ID_updateTime);
      
          PROP_ID_TO_NAME[PROP_ID_delFlag] = PROP_NAME_delFlag;
          PROP_NAME_TO_ID.put(PROP_NAME_delFlag, PROP_ID_delFlag);
      
    }

    
    /* 岗位id: POST_ID */
    private java.lang.String _postId;
    
    /* 岗位编号: POST_CODE */
    private java.lang.String _postCode;
    
    /* 岗位名称: POST_NAME */
    private java.lang.String _postName;
    
    /* 岗位排序: SORT */
    private java.lang.Integer _sort;
    
    /* 状态 0、启用 1、停用: STATUS */
    private java.lang.Integer _status;
    
    /* 描述: REMARK */
    private java.lang.String _remark;
    
    /* 租户id: TENANT_ID */
    private java.lang.String _tenantId;
    
    /* 创建者: CREATE_BY */
    private java.lang.String _createBy;
    
    /* 创建时间: CREATE_TIME */
    private java.time.LocalDateTime _createTime;
    
    /* 修改人: UPDATE_BY */
    private java.lang.String _updateBy;
    
    /* 修改时间: UPDATE_TIME */
    private java.time.LocalDateTime _updateTime;
    
    /* 逻辑删除 0、未删除 1、已删除: DEL_FLAG */
    private java.lang.Integer _delFlag;
    

    public _SysPost(){
    }

    protected SysPost newInstance(){
       return new SysPost();
    }

    public String orm_entityName() {
      return "me.flyray.bsin.server.domain.SysPost";
    }

    
    /**
     * 岗位id: POST_ID
     */
    public java.lang.String getPostId(){
         //onPropGet(PROP_ID_postId);
         return _postId;
    }

    /**
     * 岗位id: POST_ID
     */
    public void setPostId(java.lang.String value){
        this._postId = value;
    }
    
    /**
     * 岗位编号: POST_CODE
     */
    public java.lang.String getPostCode(){
         //onPropGet(PROP_ID_postCode);
         return _postCode;
    }

    /**
     * 岗位编号: POST_CODE
     */
    public void setPostCode(java.lang.String value){
        this._postCode = value;
    }
    
    /**
     * 岗位名称: POST_NAME
     */
    public java.lang.String getPostName(){
         //onPropGet(PROP_ID_postName);
         return _postName;
    }

    /**
     * 岗位名称: POST_NAME
     */
    public void setPostName(java.lang.String value){
        this._postName = value;
    }
    
    /**
     * 岗位排序: SORT
     */
    public java.lang.Integer getSort(){
         //onPropGet(PROP_ID_sort);
         return _sort;
    }

    /**
     * 岗位排序: SORT
     */
    public void setSort(java.lang.Integer value){
        this._sort = value;
    }
    
    /**
     * 状态 0、启用 1、停用: STATUS
     */
    public java.lang.Integer getStatus(){
         //onPropGet(PROP_ID_status);
         return _status;
    }

    /**
     * 状态 0、启用 1、停用: STATUS
     */
    public void setStatus(java.lang.Integer value){
        this._status = value;
    }
    
    /**
     * 描述: REMARK
     */
    public java.lang.String getRemark(){
         //onPropGet(PROP_ID_remark);
         return _remark;
    }

    /**
     * 描述: REMARK
     */
    public void setRemark(java.lang.String value){
        this._remark = value;
    }
    
    /**
     * 租户id: TENANT_ID
     */
    public java.lang.String getTenantId(){
         //onPropGet(PROP_ID_tenantId);
         return _tenantId;
    }

    /**
     * 租户id: TENANT_ID
     */
    public void setTenantId(java.lang.String value){
        this._tenantId = value;
    }
    
    /**
     * 创建者: CREATE_BY
     */
    public java.lang.String getCreateBy(){
         //onPropGet(PROP_ID_createBy);
         return _createBy;
    }

    /**
     * 创建者: CREATE_BY
     */
    public void setCreateBy(java.lang.String value){
        this._createBy = value;
    }
    
    /**
     * 创建时间: CREATE_TIME
     */
    public java.time.LocalDateTime getCreateTime(){
         //onPropGet(PROP_ID_createTime);
         return _createTime;
    }

    /**
     * 创建时间: CREATE_TIME
     */
    public void setCreateTime(java.time.LocalDateTime value){
        this._createTime = value;
    }
    
    /**
     * 修改人: UPDATE_BY
     */
    public java.lang.String getUpdateBy(){
         //onPropGet(PROP_ID_updateBy);
         return _updateBy;
    }

    /**
     * 修改人: UPDATE_BY
     */
    public void setUpdateBy(java.lang.String value){
        this._updateBy = value;
    }
    
    /**
     * 修改时间: UPDATE_TIME
     */
    public java.time.LocalDateTime getUpdateTime(){
         //onPropGet(PROP_ID_updateTime);
         return _updateTime;
    }

    /**
     * 修改时间: UPDATE_TIME
     */
    public void setUpdateTime(java.time.LocalDateTime value){
        this._updateTime = value;
    }
    
    /**
     * 逻辑删除 0、未删除 1、已删除: DEL_FLAG
     */
    public java.lang.Integer getDelFlag(){
         //onPropGet(PROP_ID_delFlag);
         return _delFlag;
    }

    /**
     * 逻辑删除 0、未删除 1、已删除: DEL_FLAG
     */
    public void setDelFlag(java.lang.Integer value){
        this._delFlag = value;
    }
    
}
// resume CPD analysis - CPD-ON
